import dayjs from "dayjs"
export const formatDateTime=(time,split="YYYY-MM-DD HH:mm:ss")=>{
    let d=dayjs(time);
    if(d.isValid()){
        return d.format(split);
    }else{
        return "";
    }
}